const mongoose = require('mongoose')
const rbArchiveSchema = mongoose.Schema({
    "rbId": Number,           //报销单Id
    "upload_id": String,               //报销批次Id
    "fraud": {
        type: Number,
        default: 0
    },//是否诈骗 0-否 1-是
    "APP_AMT": {
        type: Number,
        default: 0
    },//赔付金额
    "MBR_NO": Number,//受保人Id
    "POHO_NO": Number //投保人Id
})

module.exports = mongoose.model("rbArchives", rbArchiveSchema, "rbArchives")//第三个参数是集合名称